package com.clear.factory.demo;

import com.clear.factory.demo.factory.DatabaseConnection;

import java.sql.Connection;

public class Test {
    public static void main(String[] args) {
        DatabaseConnection connection = DatabaseConnectionFactory.createDatabaseConnection("MySQL");
        Connection conn = connection.getConnection();
    }
}
